package com.cc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cc.model.dto.InventoryQuery;
import com.cc.model.entity.Inventory;
import com.cc.model.vo.InventoryVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 库存表 Mapper 接口
 * </p>
 *
 * @author 晓东√
 * @since 2025-09-19 11:18
 */
@Mapper
public interface InventoryMapper extends BaseMapper<Inventory> {
    //分页展示库存列表
    Page<InventoryVo> pageList(Page<InventoryVo> page, InventoryQuery inventoryQuery);

    List<InventoryVo> getLowWarningInventoryList();
}
